const aa = {
    bb: {
        cc: {
            name:'haley'
        }
    }
}

const { bb: { cc: { name } } } = aa
console.log(name)